package com.huynhchihieu.service;


import com.huynhchihieu.domain.Domainuser;
import com.huynhchihieu.domain.RegistrationForm;
import com.huynhchihieu.exception.DuplicateEmailException;





public interface UserService {
    
    public Domainuser getUserByEmail(String login);
    public void createUser(Domainuser user, int roleId);
	public Domainuser registerNewUserAccount(RegistrationForm userAccountData) throws DuplicateEmailException;;
 
}
